(Fpos_visible_in_window_p): Call pos_visible with
authorGerd Moellmann <gerd@gnu.org>
Tue, 14 Nov 2000 05:43:37 +0000 (05:43 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 14 Nov 2000 05:43:37 +0000 (05:43 +0000)
extra argument.

src/window.c

index 5257c1b0cdb26c1aeaf6fe47fecbdeba95d24fdb..4c755a3f03ee233a4c217bd49fd5a89425656e4d 100644 (file)
@@ -337,7 +337,7 @@ POS defaults to point in WINDOW; WINDOW defaults to the selected window.")
         char in the window.  */
       if (!NILP (fully))
        {
-         pos_visible_p (w, posint, &fully_p);
+         pos_visible_p (w, posint, &fully_p, !NILP (fully));
          in_window = fully_p ? Qt : Qnil;
        }
       else
@@ -350,7 +350,7 @@ POS defaults to point in WINDOW; WINDOW defaults to the selected window.")
     in_window = Qnil;
   else
     {
-      if (pos_visible_p (w, posint, &fully_p))
+      if (pos_visible_p (w, posint, &fully_p, !NILP (fully)))
        in_window = NILP (fully) || fully_p ? Qt : Qnil;
       else
        in_window = Qnil;